// All the methods are modified by static
// Thus we don't need to make it an instance but use it directly.
 import java.util.Arrays;
import java.util.Random;


public class ArraysTest {
    public static void main(String[] args) {
        BubbleSort bs = new BubbleSort();
        Random r = new Random();
        int size = 5;
        int[] arr = new int[size];
        for (int i = 0; i < size; i++) {
            arr[i] = r.nextInt(0, 100);
        }
        System.out.println(Arrays.toString(arr));
//        int[] arr2 = Arrays.
//        bs.bubSortBetter(arr);
        Arrays.sort(arr);
        System.out.println(Arrays.toString(arr));
    }
}
